
<%@ page import="ihisab.LendingTransaction" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'lendingTransaction.label', default: 'LendingTransaction')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-lendingTransaction" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="index"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-lendingTransaction" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list lendingTransaction">
			
				<g:if test="${lendingTransactionInstance?.person}">
				<li class="fieldcontain">
					<span id="person-label" class="property-label"><g:message code="lendingTransaction.person.label" default="Person" /></span>
					
						<span class="property-value" aria-labelledby="person-label"><g:link controller="person" action="show" id="${lendingTransactionInstance?.person?.id}">${lendingTransactionInstance?.person?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${lendingTransactionInstance?.amount}">
				<li class="fieldcontain">
					<span id="amount-label" class="property-label"><g:message code="lendingTransaction.amount.label" default="Amount" /></span>
					
						<span class="property-value" aria-labelledby="amount-label"><g:fieldValue bean="${lendingTransactionInstance}" field="amount"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${lendingTransactionInstance?.interestAmount}">
				<li class="fieldcontain">
					<span id="interestAmount-label" class="property-label"><g:message code="lendingTransaction.interestAmount.label" default="Interest Amount" /></span>
					
						<span class="property-value" aria-labelledby="interestAmount-label"><g:fieldValue bean="${lendingTransactionInstance}" field="interestAmount"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${lendingTransactionInstance?.fromDate}">
				<li class="fieldcontain">
					<span id="fromDate-label" class="property-label"><g:message code="lendingTransaction.fromDate.label" default="From Date" /></span>
					
						<span class="property-value" aria-labelledby="fromDate-label"><g:formatDate date="${lendingTransactionInstance?.fromDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${lendingTransactionInstance?.toDate}">
				<li class="fieldcontain">
					<span id="toDate-label" class="property-label"><g:message code="lendingTransaction.toDate.label" default="To Date" /></span>
					
						<span class="property-value" aria-labelledby="toDate-label"><g:formatDate date="${lendingTransactionInstance?.toDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${lendingTransactionInstance?.transactionType}">
				<li class="fieldcontain">
					<span id="transactionType-label" class="property-label"><g:message code="lendingTransaction.transactionType.label" default="Transaction Type" /></span>
					
						<span class="property-value" aria-labelledby="transactionType-label"><g:fieldValue bean="${lendingTransactionInstance}" field="transactionType"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${lendingTransactionInstance?.comments}">
				<li class="fieldcontain">
					<span id="comments-label" class="property-label"><g:message code="lendingTransaction.comments.label" default="Comments" /></span>
					
						<span class="property-value" aria-labelledby="comments-label"><g:fieldValue bean="${lendingTransactionInstance}" field="comments"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form url="[resource:lendingTransactionInstance, action:'delete']" method="DELETE">
				<fieldset class="buttons">
					<g:link class="edit" action="edit" resource="${lendingTransactionInstance}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
